package com.onlinevideo.dao;

import com.onlinevideo.entity.Authority;


import java.util.List;

public interface AuthorityDao {

    int insert(Authority authority);

    int delete(Long id);

    int update(Authority authority);

    Authority queryById(Long id);

    List<Authority> queryAll();

    List<Authority> queryByRoleId(Long roleId);
}
